package com.quan.server.jpa;

import com.quan.server.beans.Customer;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * Created by macmatilda on 10/01/2017.
 */
public interface CustomerRepository extends JpaRepository<Customer, String> {
    Customer findCustomerByWeixinId(String weixinId);

    Customer findCustomerByweixinUnionId(String weixinUnionId);

    Customer findCustomerByWeixinMPOpenId(String weixinMPOpenId);

    Customer findCustomerByAlimamaPid(String alimamaPid);
}
